@import url("../index.less");
.ant-form-item {
  margin-bottom: 0;

  .ant-form-item-label>label {
    font-size: 13px;
    color: #4A5774;
    text-align: right;
    line-height: 28px;
    height: 28px;
    margin-right: 8px;
    opacity: 0.7;
    .font-bold();

    &:after {
      content: '';
      margin-right: 0;
    }
  }
}

.ant-form:not(.ant-form-inline) {
  .ant-form-item {
    // margin-bottom: 20px;
  }
}

.ant-form-item-control-input {
  min-height: 28px;
}

.ant-form-item-extra {
  font-size: 12px;
  margin-top: 2px;
  min-height: 20px;
  color: rgba(74, 87, 116, 0.7);

  >span {
    font-size: 12px;
    display: inline-block;
    transform: scale(0.83);
    transform-origin: top right;
  }
}

.ant-form-item-label {
  label {
    color: rgba(74, 87, 116, 0.7);
    font-weight: bold;
    font-size: 13px;
    height: 28px;
  }
}

.ant-form.hide_require_tips {
  .ant-form-item-label>label.ant-form-item-required {
    &::before {
      display: none;
    }
  }
}

.findfit_item_inline {
  display: inline-block;

  .ant-form-item-control {
    display: inline-block;
  }
}

.findfit_error_tooltip {
  .ant-form-item-explain.ant-form-item-explain-success {
    display: none;
  }

  .ant-form-item-explain.ant-form-item-explain-error {
    position: absolute;
    right: 5px; 
    top: 8px;
    z-index: 1;
    min-height: inherit;

    &:after {
      display: block;
      content: "";
      background: url('../assets/icons/icon-warning.png') center no-repeat;
      background-size: 100% auto;
      width: 13px;
      height: 11px;
    }

    >div {
      display: none;
      white-space: nowrap;
      position: absolute;
      background: #E62B00;
      color: #fff;
      bottom: 8px;
      padding: 0px 10px;
      line-height: 28px;
      border-radius: 3px;
      left: 6px;
      transform: translate(-50%, -18px);
      box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.15);

      &:after {
        width: 0;
        height: 0;
        border: 6px solid transparent;
        content: "";
        display: block;
        position: absolute;
        border-top-color: #E62B00;
        top: 100%;
        left: 50%;
        margin-left: -6px;
      }
    }

    &:hover {
      >div {
        display: block;
      }
    }
  }
}


.icon_dash {
  height: 1px;
  width: 8px;
  display: inline-block;
  background: #35425E;
  vertical-align: middle;
}